.clearfix::after {
    display: block;
    content: '';
    clear: both;
}

html {
    background-color: #fff;
}
body {
    position: relative;
    width: 100%;
    height: 100vh;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
    background: url("../img/background.jpg") no-repeat;
    background-size: 100% 100vh;
    color: #473601;
}


/* 信息展示区 */
.info-wrap {
    padding: 0 5%;
    margin-bottom: 4rem;
}
.info-item {
    height: 20px;
    padding: 0 5%;
    border: 0.3rem solid #8c6900;
    border-radius: 20px;
    background: linear-gradient(to bottom, #ffe699 50%, #ffd24d 50%);
}
.info-date {
    float: left;
    width: 20%;
    text-align: center;
}
.info-money {
    float: right;
    width: 30%;
    text-align: right;
}


/* 厨师烹饪区 */
.chef-area {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    height: auto;
    padding: 1rem 0 0 1rem;
    margin: 0 auto 4rem;
    border: 0.3rem solid white;
    background-color: #ffd24d;
}
.chef {
    flex: 0 0 33%;
    padding-bottom: 1rem;
}
.chef-item {
    width: 4rem;
    height: 100%;
    margin: 0 auto;
}
.chef-avatar {
    position: relative;
    display: block;
    width: 4rem;
    height: 4rem;
    border: .3rem solid #fff;
    border-radius: 50%;
}
.chef-avatar img {
    width: 100%;
    height: auto;
}
.chef-free {
    background: linear-gradient(90deg, #ddd 50%, #aaa 0)
}
.chef-empty {
    cursor: pointer;
    background: linear-gradient(90deg, #ddd 50%, #aaa 0)
}
.chef-empty img {
    filter: brightness(5);
}

.plus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.plus-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #cc9979;
}
.plus-r {
    width: 1.2rem;
    height: 0.3rem;
}
.plus-c {
    width: 0.3rem;
    height: 1.2rem;
}

.chef-finished {
    background: linear-gradient(90deg, #ac91ff 50%, #7a4dff 0);
}
.chef-avatar .chef-serve {
    position: absolute;
    display: block;
    width: 3rem;
    height: auto;
    left: -2rem;
    bottom: 0rem;
}
.chef-dish {
    position: absolute;
    width: 100%;
    bottom: -.5rem;
    border: .15rem solid #fff;
    border-radius: 0.3rem;
    text-align: center;
    font-size: .3rem;
    color: #fff;
}
.dish-finished {
    background-color: #ac91ff;
}
.chef-cooking {
    background: linear-gradient(90deg, #ff9122 50%, #d96d00 0);
}
.dish-cooking {
    background-color: #ff9122;
}

/* 顾客就餐区 */
.customer-area {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 90%;
    padding: 1rem 0 1rem 1rem;
    margin: 0 auto 4rem;
    border: .3rem solid #fff;
    background-color: #ffa64d;
}
.customer {
    flex: 0 0 50%;
}
.customer-item {
    width: 4rem;
    height: 4rem;
    margin-right: 20%;
    margin-bottom: 2rem;
    border: .3rem solid #fff;
    border-radius: 50%;
    background: linear-gradient(90deg,#ddd 50%,#aaa 0);
}
.customer-avatar {
    position: relative;
}
.customer-figure {
    width: 100%;
    height: auto;
}
.customer-dishes {
    position: absolute;
    top: 0;
    right: -4rem;
    font-size: .3rem;
    text-align: center;
    color: white;
}
.customer-dish-item {
    position: relative;
    width: 5rem;
    border: .2rem solid #ffffff;
    border-radius: .5rem;
}
.customer-icon {
    display: none;
    position: absolute;
    width: 3rem;
    height: auto;
    bottom: 0;
    left: -1.5rem;
}
.dish-serve {
    display: block;
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: -.2rem;
    right: -1.5rem;
    border: .2rem solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(90deg, #b20000 50%, #ff2020 0);
}
.dish-serve img {
    position: relative;
    width: 180%;
    height: 180%;
    top: -.2rem;
    left: -.4rem;
}

.customer-wait {
    background: linear-gradient(90deg,#ff2020 50%,#b20000 0);
}
.customer-dishes .dish-wait {
    background-color: #b20000
}

.customer-eat {
    background: linear-gradient(90deg,#ff9122 50%,#d96d00 0)
}
.customer-dishes .dish-eat {
    background-color: #d96d00
}

.customer-miss {
    background: linear-gradient(90deg,#661a00 50%,#401000 0)
}
.customer-miss .customer-heart {
    display: block;
}
.customer-dishes .dish-miss {
    text-decoration: line-through;
    background-color: rgb(83, 83, 98);
}

.customer-finish {
    background: linear-gradient(90deg, #80ff00 50%, #00b200 0);
}
.customer-finish .customer-money {
    display: block;
}
.customer-dishes .dish-finished {
    background-color: #00b200;
}



/* 顾客等位区 */
.wait-area {
    position: absolute;
    display: block;
    width: auto;
    height: 4rem;
    right: 10px;
    bottom: -2rem;
}
.wait-item {
    float: left;
    width: 4rem;
    height: 4rem;
    margin-right: -.5rem;
    cursor: pointer;
}
.wait-item .wait-avatar {
    position: relative;
    border: .3rem solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(90deg,#2693ff 50%,#006dd9 0)
}
.wait-item .wait-avatar img{
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.wait-item .wait-process {
    position: absolute;
    bottom: -0.6rem;
    width: 3.6rem;
    height: 1.2rem;
    line-height: 1.2rem;
    border: 0.2rem solid #ffffff;
    border-radius: 0.5rem;
    background-color: #006dd9;
    text-align: center;
    color: #ffffff;
}
/* 遮罩 */
.mask {
    /*display: none;*/
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
}


/* 提示信息 */
.tip-item {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    padding: 1rem 1rem;
    transform: translate(-50%, -50%);
    border: .3rem solid #fff;
    background-color: #ffd24d;
}
.tip-menu {
    display: none;
}
.tip-menu img{
    width: 80px;
    height: auto;
}
.tip-welcome {
    /*display: none;*/
}
.tip-hire {
    display: none;
}
.tip-fire {
    display: none;
}



